package com.designPattern.dynamicProxy;
import com.designPattern.dynamicProxy.Moveable;
public class TimeProxy implements com.designPattern.dynamicProxy.Moveable {
	private com.designPattern.dynamicProxy.Moveable m;
	public TimeProxy(com.designPattern.dynamicProxy.Moveable m){
		this.m = m;
		}
	public void move(){
		try{
				java.lang.reflect.Method md = com.designPattern.dynamicProxy.Moveable.class.getMethod("move");
				md.invoke(this,new Object[]{});
			}catch(Exception e){ e.printStackTrace();}
}
}
